body {
  overflow: hidden;
}

// p {
//     transform: scale(0.8);
// }

// span {
//     display: inline-block;
//     transform: scale(0.8);
// }

.bh-progress {
  .ivu-progress-outer {
    .ivu-progress-inner {
      background-color: #fff !important;
    }
  }

  .ivu-progress-text {
    .ivu-progress-text-inner {
      display: inline-block;
      transform: scale(0.6);
    }
  }
}

.book {
  width: 600px;
  transition: opacity 0.4s 0.2s;
  transform: translateX(-70px) translateY(200px) perspective(1000px)
    rotateX(0deg) rotateY(0deg) rotateZ(340deg) scale(1.2);
}

@keyframes book {
  0% {
    transform: translateX(-70px) translateY(200px) perspective(200px)
      rotateX(0deg) rotateY(0deg) rotateZ(340deg) scale(1.2);
  }

  100% {
    transform: translateX(calc(40vw - 150px)) translateY(calc(50vh - 220px))
      perspective(200px) rotateX(0deg) rotateY(0deg) rotateZ(360deg) scale(1.5);
  }
}

.book.bookMove {
  animation: book 1.5s linear 1 forwards;
}

.page {
  width: 30vw;
  height: 44vw;
  background-color: #111111;
  float: left;
  margin-bottom: 0.5em;
  background: left top no-repeat;
  background-size: cover;
  pointer-events: none;
}
.page:hover {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}
.page:nth-child(even) {
  clear: both;
}

.book .pages {
  width: 600px;
  height: 440px;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 4px;
  // pointer-events: none;
  /*box-shadow: 0 0 0 1px #e3dfd8;*/
}

.book .page {
  float: none;
  clear: none;
  margin: 0;
  position: absolute;
  top: 0;
  width: 300px;
  height: 440px;
  transform-origin: 0 0;
  transition: transform 1.4s;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  background-color: #f0f0f0;
  // padding-left: 20px;
}

// .book .page:before {
//     content: '';
//     position: absolute;
//     top: 0;
//     bottom: 0;
//     left: 0;
//     right: 0;
//     background: rgba(0, 0, 0, 0);
//     transition: background 0.7s;
//     z-index: 2;
// }

.book .page:nth-child(odd) {
  pointer-events: all;
  transform: rotateY(0deg);
  right: 0;
  border-radius: 0 4px 4px 0;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 10%
  );
}

.book .page:nth-child(odd):hover {
  transform: rotateY(-15deg);
}

.book .page:nth-child(odd):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page:nth-child(odd):before {
  background: rgba(0, 0, 0, 0);
}

.book .page:nth-child(even) {
  pointer-events: none;
  transform: rotateY(180deg);
  transform-origin: 100% 0;
  left: 0;
  border-radius: 4px 0 0 4px;
  border-color: black;
  background-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 10%
  );
}

.book .page:nth-child(even):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.grabbing {
  transition: none;
}

.book .page.flipped:nth-child(odd) {
  pointer-events: none;
  transform: rotateY(-180deg);
}

.book .page.flipped:nth-child(odd):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.flipped:nth-child(even) {
  pointer-events: all;
  transform: rotateY(0deg);
}

.book .page.flipped:nth-child(even):hover {
  transform: rotateY(15deg);
}

.book .page.flipped:nth-child(even):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page.flipped:nth-child(even):before {
  background: rgba(0, 0, 0, 0);
}

.page:nth-child(odd) {
  background-position: right top;
}

.bookPageBg {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  // background-image: url(@/assets/images/img/bookPage_bg.png);
}

.pageContent {
  padding: 0 20px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  &.pageOne {
    > img {
      margin-top: 10px;
    }

    .pageText {
      flex: 1;
      font-size: 12px;
      margin-top: -10px;

      p {
        text-indent: 2em;
        transform: scale(0.8);
        margin: 10px -13px 0 -20px;
        text-align: justify;
      }
    }
  }

  .list-line {
    height: 100%;
    width: 5px;
    margin-right: 10px;
    //    border-radius: 4px 0 0 4px;
  }
}

.bookPageList {
  li {
    background-color: #fff;
    height: 55px;
    margin-bottom: 7px;
    border-radius: 4px;
    display: flex;
    position: relative;
    cursor: pointer;

    span {
      transform: scale(0.8);
      margin-left: 5px;
      margin: auto 0;
      font-size: 12px;
    }

    p {
      position: absolute;
      right: 5px;
      bottom: 5px;
      background-color: #fcfafa;
      border-radius: 10px;
      padding: 0 5px;
      font-size: 12px;
      transform: scale(0.8);

      > img {
        margin: -2px 5px 0 -5px;
      }
    }
  }
}

.bookTaskList {
  li {
    &.taskListTitle {
      height: 20px;
      align-items: center;
    }
    &.disabled {
      background-color: #f5f5f5;
    }
    background-color: #fff;
    display: flex;
    margin-bottom: 5px;
    height: 50px;

    p {
      transform: scale(0.7);

      &:nth-of-type(1) {
        width: calc(60% - 3px);
        margin-left: -7px;

        span {
          transform: scale(1.2);
        }
      }

      &:nth-of-type(2) {
        width: 15%;
        text-align: right;
        padding-top: 7px;
      }

      &:nth-of-type(3) {
        width: 35%;
        text-align: center;
      }

      font-size: 12px;
    }

    .taskList-line {
      width: 3px;
      height: 100%;
    }
  }
}

.book {
  &.bookMove {
    .bookCover {
      box-shadow: none;
      // animation-play-state:paused;
      animation: none;
    }
  }
}

.bookCover {
  box-shadow: -16px -16px 30px rgba(0, 0, 0, 0.18);
  animation: twinkling 2s infinite ease-in-out;
}

@keyframes twinkling {
  0% {
    box-shadow: 0 0 0px 0px #cde3fa;
  }
  // 25% {box-shadow:0 0 15px 2px #fff;}
  50% {
    box-shadow: 0 0 15px 2px #cde3fa;
  }
  // 75% {box-shadow:0 0 15px 2px #fff;}
  100% {
    box-shadow: 0 0 0px 0px #cde3fa;
  }
}
.book-content {
  .ivu-modal-content {
    background-color: transparent;
    box-shadow: none;
    // background-image: url(@/assets/images/img/bookModal.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    .ivu-modal-body {
      padding: 140px 50px 0 60px;
      color: #fff;
    }
  }
}
.fixed-bottom {
  position: absolute;
  bottom: 100px;
  left: calc(50% - 38px);
}
.book-form {
  .ivu-form-item-label {
    color: #fff;
  }
}
.book-progress {
  .ivu-progress-text {
    color: #fff;
    .ivu-progress-text-inner {
      transform: scale(1);
      font-size: 16px;
    }
  }
}
.train-btn {
  background-color: #ff6961;
  display: inline-block;
  text-align: center;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
}
.book-text {
  padding-left: 80px;
  padding-right: 35px;
}
.book-text-list {
  list-style: disc;
  li {
    margin-top: 15px;
    list-style: disc;
  }
}
